package com.orientsec.autotest.project.system.systemSqlquery.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;

/**
 * sql查询语句表 system_sqlquery
 * 
 * @author autotest
 * @date 2019-12-27
 */
public class SystemSqlquery extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 描述 */
	private String desc;
	/** 内容 */
	private String val;
	/** 名称 */
	private String name;
	/** 语句类型1-text;2-produce */
	private Integer sqlType;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setDesc(String desc) 
	{
		this.desc = desc;
	}

	public String getDesc() 
	{
		return desc;
	}
	public void setVal(String val) 
	{
		this.val = val;
	}

	public String getVal() 
	{
		return val;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setSqlType(Integer sqlType) 
	{
		this.sqlType = sqlType;
	}

	public Integer getSqlType() 
	{
		return sqlType;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("desc", getDesc())
            .append("val", getVal())
            .append("name", getName())
            .append("sqlType", getSqlType())
            .toString();
    }
}
